package L1;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class _078 {
    /**
     * 吉老师的回归
     */
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] s = reader.readLine().split(" ");
        int N = Integer.valueOf(s[0]);
        int M = Integer.valueOf(s[1]);
        String result = "";
        int i;
        for (i=0;i<N;i++){
            String line = reader.readLine();
            if (line.contains("qiandao")||line.contains("easy")){
                continue;
            }else if (M>0){
                M--;
            }else {
                result = line;
                break;
            }
        }
        if (M>0||i==N&&M==0){
            System.out.println("Wo AK le");
        }else {
            System.out.println(result);
        }
    }
}
